/*
 * ImageWatcher.cpp
 *
 *  Created on: 2018年5月11日
 *      Author: zhengboyuan
 */

#include "ImageWatcher.h"
#include "CImageWatcher.h"
#include "TSingleton.h"
#include "Application.h"


typedef comn::Singleton< CImageWatcher >	CImageWatcherSingleton;


void ImageWatcher::startup()
{
	Application::instance().init();
}

void ImageWatcher::cleanup()
{
	Application::instance().quit();
}

ImageWatcher& ImageWatcher::instance()
{
	return CImageWatcherSingleton::instance();
}

